package com.itheima.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.dto.PageDTO;
import com.itheima.mp.domain.po.User;
import com.itheima.mp.domain.query.UserQuery;
import com.itheima.mp.domain.vo.UserVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author wyh
 * @Date 2025/5/6 20:22
 * @description:
 */
public interface IUserService extends IService<User> {
    void deductBalance(Long id, Integer money);

    UserVO queryUserAndAddressById(Long userId);

    List<UserVO> query(List<Long> ids);

    PageDTO<UserVO> queryUsersPage(UserQuery query);
}
